package com.xuanyue.db.xuan.core.table.expr;

public class LimitInfo {

	private Integer offset;
	private Integer num;
	public Integer getOffset() {
		return offset;
	}
	public void setOffset(Integer offset) {
		this.offset = offset;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		if(num>1000) {
			num=1000;
		}
		if(num<0) {
			num=0;
		}
		this.num = num;
	}
	
	
}
